<aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
              
              	  <p class="centered"><a href="profile.html"><img src="{{asset('assets/assets/img/ui-sam.jpg')}}" class="img-circle" width="60"></a></p>
              	  <h5 class="centered">{{auth('admin')->user()->name}}</h5>
              	  @role('superadmin')	
                  <li class="mt">
                      <a class="{{ Route::is('admin.index') ? 'active' : '' }}" href="/admin/index">
                          <i class="fa fa-dashboard"></i>
                          <span>死肥宅</span>
                      </a>
                  </li>
                  @endrole
                 
                  @foreach($comData['data'] as $k=> $v)
                  <li class="sub-menu">
                      
                      <a href="javascript:;" @if(in($comData['urlPath'],$v)) class="dcjq-parent active" @endif>
                          <i class="fa fa-desktop "></i>
                          <span>{{$v['display_name']}}</span>
                      </a>
                      <ul class="sub">
                        @if(isset($v['_child']))
                          @foreach($v['_child'] as $son)
                          <li class= "{{ $son['name']==$comData['urlPath'] ? 'active' : '' }}"><a  href="{{route($son['name'])}}">{{$son['display_name']}}</a></li>
                          @endforeach
                        @endif 
                      </ul>
                      
                  </li>
                  @endforeach

                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-cogs"></i>
                          <span>####</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="calendar.html">Calendar</a></li>
                          <li><a  href="gallery.html">Gallery</a></li>
                          <li><a  href="todo_list.html">Todo List</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-book"></i>
                          <span>####</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="blank.html">Blank Page</a></li>
                          <li><a  href="login.html">Login</a></li>
                          <li><a  href="lock_screen.html">Lock Screen</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-tasks"></i>
                          <span>####</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="form_component.html">Form Components</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-th"></i>
                          <span>####</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="basic_table.html">Basic Table</a></li>
                          <li><a  href="responsive_table.html">Responsive Table</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class=" fa fa-bar-chart-o"></i>
                          <span>####</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="morris.html">Morris</a></li>
                          <li><a  href="chartjs.html">Chartjs</a></li>
                      </ul>
                  </li>

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>